package com.ybkj.daijia.server.mapper;

import com.ybkj.daijia.server.model.IntroduceRecord;

public interface IntroduceRecordMapper {

    /**
     * 添加一次性获取提成记录
     *
     * @param introduceRecord
     * @return
     */
    Integer insertRecord(IntroduceRecord introduceRecord);

    /**
     * 查询是否已经获取了推荐提成
     *
     * @param introduceRecord
     * @return
     */
    Integer countByPhone(IntroduceRecord introduceRecord);
}
